from utils.smscodes import send_message
from celery_tasks.main import app

# 注意是:task

@app.task(name='send_sms_code')
def send_sms_code(mobile,sms_code):

    send_message(mobile,sms_code)